package com.juneyaoair.search;

import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@EnableSwagger2
@MapperScan("com.juneyaoair.search.mapper")
@SpringBootApplication(exclude= {DataSourceAutoConfiguration.class})
public class SearchApplication {

    private static final Logger log = LoggerFactory.getLogger(SearchApplication.class);

    //elastic
    public static void main(String[] args) {
        SpringApplication.run(SearchApplication.class, args);
        log.info("SearchApplication服务启动完成!");
    }

}
